<!--mstp,sdh正常变更端口变更-->
<script>
import Common from "@/mixins/order/commonbg.js";
import OrderService from "@/api/order/OrderService.js";
import PPMForm from "@/crm3.0part7-ppm/core/ppmForm.vue";
export default {
  name: "mstp10460065",
  mixins: [PPMForm, Common],
  data() {
    return {
      //mstp,sdh正常变更端口变更
    };
  },
  async mounted() {
      await this.initCommon();
      this.formData["10460448-141000174"].isshow = false;
      this.formData["10460449-141000174"].isshow = false;
  },

  computed: {},
  methods: {
    //端口类型改变
    portTypeA(){
      // 80050062014  rj45   80050062009 fe-rj45
       if(this.formData['10460448-100013204'].value == '80050062014' || this.formData['10460448-100013204'].value == '80050062009'){
         this.formData["10460448-141000174"].isshow = true;
       }else {
        this.formData["10460448-141000174"].isshow = false;
        this.formData["10460448-141000174"].value="";
       }
    },
    portTypeB(){
      if(this.formData['10460449-100013204'].value == '80050062014' || this.formData['10460449-100013204'].value == '80050062009'){
        this.formData["10460449-141000174"].isshow = true;
      }else {
        this.formData["10460449-141000174"].isshow = false;
        this.formData["10460449-141000174"].value="";
      }
    },
  },
};
</script>

